/*
 * Copyright (c) 2020 MariaDB Corporation Ab
 * Copyright (c) 2023 MariaDB plc, Finnish Branch
 *
 * Use of this software is governed by the Business Source License included
 * in the LICENSE.TXT file and at www.mariadb.com/bsl11.
 *
 * Change Date: 2027-04-10
 *
 * On the date above, in accordance with the Business Source License, use
 * of this software will be governed by version 2 or later of the General
 * Public License.
 */
.readonly-sql-code-wrapper {
    background-color: $separator;
    height: 300px;
}
.readonly-editor {
    .overflow-guard {
        .monaco-editor,
        .monaco-editor-background,
        .monaco-editor .inputarea.ime-input {
            background-color: #e8eef1;
        }
        .margin {
            background-color: #e8eef1;
        }
        .view-line {
            background-color: $separator;
        }
    }
}

.v-tabs--mxs-workspace-style {
    width: unset !important;
    .tab-btn {
        border: thin solid rgba(0, 0, 0, 0.12) !important;
        border-right: none !important;
        font-size: 0.75rem;
        &:last-of-type {
            border-right: thin solid rgba(0, 0, 0, 0.12) !important;
        }
        &--active {
            color: $primary !important;
            &::before {
                opacity: 0.12 !important;
            }
        }
        &--err-tab {
            color: $error !important;
            &:last-of-type {
                border-color: $error !important;
            }
        }
    }
    &.query-tab-nav {
        .tab-btn {
            border-left: none !important;
            border-top: none !important;
            border-right: 1px solid $table-border !important;
            border-bottom: 1px solid $table-border !important;
            .del-tab-btn {
                visibility: hidden;
            }
            &:hover {
                .del-tab-btn {
                    visibility: visible;
                }
            }
        }
        .v-slide-group__prev,
        .v-slide-group__next {
            border-bottom: 1px solid $table-border !important;
            border-right: 1px solid $table-border !important;
        }
    }

    &.v-tabs--custom-small-pagination-btn {
        .v-slide-group__prev,
        .v-slide-group__next {
            flex: 0 1 36px;
            min-width: 36px;
        }
    }
}
